package study


// 自定义error
type StudyError struct {
	errors ,fileName string
	line int
}

func (s *StudyError) Error() string {
	return s.errors
}


func (s* StudyError) MyError() string {
	return `my error {s.errors}`
}

func NewStudyError(e, f string, l int) *StudyError {
	return &StudyError{e, f, l}
}